package com.whminwei.edu.api.student.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 班级信息列表
 * @author zhangzf
 * @since 2024/7/9
 **/
@Data
@NoArgsConstructor
public class ClasseListFspn {
    @JsonValue
    private List<ClasseBo> classeList;

    @JsonCreator
    public ClasseListFspn(List<ClasseBo> classeList) {
        this.classeList = classeList;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ClasseBo {
        /**
         * 班级id
         */
        private String classeId;
        /**
         * 班级名称
         */
        private String classeName;
        /**
         * 入学年级
         */
        private Integer enrollYear;
        /**
         * 班主任
         */
        private String directorId;
        /**
         * 专业id
         */
        private String majorId;
        /**
         * 房间id
         */
        private String roomId;
        /**
         * 人培方案id
         */
        private String eduSchemeId;

        /**
         * 班级状态
         */
        private String status;
    }
}
